home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / C and C++ / System / Chassis 6.0 ƒ / MainCloseProc.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-09-22  |  501 b   |  19 lines  |  [TEXT/KAHL]

  1. /************************************************************************************/
  2. /*    MainCloseProc                                                                    */
  3. /************************************************************************************/
  4.  
  5. #include "MyHeaders.h"
  6.  
  7. short MainCloseProc ()
  8. {
  9.     short        MCRetCode = 0;
  10.     
  11.     windSub = 0;                                    /* 5.1.2 reset subscript        */
  12.  
  13.     CloseWindow((windTbl[windSub]).windPtr);        /* 5.1.2 close main window        */
  14.     (windTbl[windSub]).windPtr = 0;                    /* 5.1.2 indicate closed        */
  15.     
  16.     return    MCRetCode;
  17.  
  18. }
  19.